Release 10.1A: OpenEdge Development:
Progress Dynamics Advanced Development
Testing the completed business logic procedure
The following code sample is the complete business logic procedure:
![]()
To try out the finished application window:
- Launch orderbrowsewin and select an order, as shown:
![]()
- Double-click on the order to bring up orderfoldwin, as shown:
![]()
Remember that some of the links you defined in the Container Builder set up a connection from the browse window to the maintenance window. These are the links that have
THIS-OBJECT(the maintenance window) as the source for the link. These pass-through links allow theOrderdata to be retrieved and displayed by theOrderviewer on Page 1, and also allow theOrderLineSDO on Page 2 to retrieve theOrderNumto use for filtering its own query.- Select Page 2. Then select the Available Credit field you created and tab out of it. The
Leavetrigger fires, which runsshowAvailCreditin the viewer’s custom super procedureorderlinsuper.p. This, in turn, runsAvailCreditin thecustomerplip.pprocedure, which returns theCustomer.CreditLimitfor display, as shown:
![]()
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |